import request from '@/utils/request'

// 获取详情
export const reqGetDeviceDetail = (deviceId) => {
  return request({
    method: 'GET',
    url: `/cinorecycle/all-in-one/id/${deviceId}`
  })
}

// 打印
export const reqPrint = (deviceId, userId) => {
  return request({
    method: 'GET',
    url: `/cinorecycle/all-in-one/print-qr/${deviceId}/${userId}`
  })
}

// 删除设备根据id
export const reqDeleteDeviceById = (deviceId) => {
  return request({
    method: 'DELETE',
    url: `/cinorecycle/all-in-one/id/${deviceId}`
  })
}
